export const constantRoute = [
    {
        path: '/',
        redirect: '/home',
        meta: {
            hidden: true,
            title: "",
            icon: '',
            keepAlive: false
        }
    },
    {
        path: '/home',
        name: 'Home',
        component: () => import('@/views/home/index.vue'),
        meta: {
            hidden: false,
            title: '首页',
            icon: 'MessageBox',
            keepAlive: false
        }
    },
    {
        path: '/:pathMatch(.*)*',
        redirect: '/404',
        meta: {
            title: '404',
            hidden: true,
            icon: '',
            keepAlive: false
        },
    }
]